<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		?>
		<link rel="stylesheet" href="public/css/edit.css" />
	</head>
	<style >
		th,td{
			text-align: center!important;
		}
		.index-b{
	   		border-radius:10px; height:16px;  padding:0px 5px 0px 5px; line-height:16px; display:inline-block;  color:white; background-color:#44C678; font-size:10px;
	   	}
	   	body{
		    background-color: white!important;
		}
		.xrTable tbody tr td a {
			margin-left: 0;
		}
	</style>
	<body>		
		<div class="container">
			<div class="row">
				<input type="hidden" id="modal_title" value="<?=$title ?>" />
				<input type="hidden" id="modal_height" value="450" />
				<form id="editForm">
				<table class='edit_table'>
					<tr>
						<th style="height:30px;">序号</th>
						<th style="height:30px;">工号</th>
						<th>姓名</th>
					</tr>
					
				<?php foreach ($list as $k => $v):?>					
					<tr>
						<td><b class="index-b"><?php echo $k+1 ?></b></td>
						<td><?php echo $v['teacher_code'] ?></td>
						<td><?php echo $v['teacher_name'] ?></td>
					</tr>
				<?php endforeach ?>

			</form>
				
				
			</div>
		</div>
	</body>	

</html>
